Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved the performance of CopyIn and CopyInSchema and added BufferQ… #1100

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

JCPrice0024
Copy link
Contributor

Wide tables with large column names were slow to call the CopyIn and CopyInSchema functions.
Created makeStmt to reduce duplication between the CopyIn and CopyInSchema functions.
Created BufferQuoteIdentifier to efficiently generate column names and reduce string allocations.
Created BenchmarkCopy which tests only CopyIn's ability to copy large data fast, the results showed that the changed copy ran at 20 ms versus the original which was around 700 ms.

@otan otan merged commit 133ac67 into lib:master Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants